@import "../base.less";

.index-title() {
  color: #595858;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 80px;
  text-align: center;
}
.father_padding() {
  padding: 60px 0;
}
.f-hover() {
  background-color: #f9fbff;
  box-shadow: 0 0 11px rgba(3, 151, 255, 0.19);
}
.li-style() {
  float: left;
  width: 30%;
  text-align: center;
  padding: 10px 15px 20px 15px;
  border-radius: 10px;
}

.index {
  .hidden();
  .why {
    .father_padding();
    .hidden();
    h2 {
      .index-title();
    }
    ul {
      li {
        .li-style();
        &:hover {
          .f-hover();
        }
        .icon {
          width: 5em;
          height: 5em;
          margin-bottom: 40px;
        }
        p {
          font-size: 17px;
          color: #7c7a7a;
          font-weight: 700;
          margin-bottom: 10px;
        }
        span {
          font-size: 15px;
          color: #999999;
          position: relative
        }
      }
    }
  }
  .video {
    background: #efeff4;
    .father_padding();
    .hidden();
    h2 {
      .index-title();
      margin-bottom: 40px;
    }
    ul {
      .hidden();
      li {
        float: left;
        width: 30%;
        text-align: center;
        padding: 10px 15px 20px 15px;
        border-radius: 10px;
        img {
          height: 199px;
          max-width: 100%;
        }
        h3 {
          margin: 13px 0;
          font-size: 18px;
          font-weight: 400;
        }
        p {
          margin-bottom: 10px;
          color: #999999;
        }
        &:hover {
          .f-hover();
        }
      }
    }
    .more {
      text-align: center;
      margin: 20px 0;
      color: #c4c4c4;
      a {
        color: #c4c4c4
      }
    }
  }
  .doubt {
    .father_padding();
    .hidden();
    h2 {
      .index-title();
    }
    ul {
      li {
        .li-style();
        margin-bottom: 40px;
        .icon {
          width: 5em;
          height: 5em;
          margin-bottom: 10px;
        }
        &:hover {
          .f-hover();
        }
        span {
          display: block;
          margin-top: 26px;
          color: #afaaaa;
        }
      }
    }
  }
  .addUser {
    .father_padding();
    .hidden();
    background: linear-gradient(315deg, #328e6c 0%, #33b906 100%);
    .infos {
      text-align: center;
      p {
        color: #ffffff;
        font-size: 25px;
        font-weight: 700;
        margin-bottom: 40px;
      }
      a {
        display: inline-block;
        color: #6c84af;
        font-size: 14px;
        font-weight: 700;
        background-color: #ffffff;
        padding: 10px 16px;
        border-radius: 6px;
        text-decoration: none;
        -webkit-box-shadow: 0 12px 32px 0 rgba(18, 113, 179, 0.7);
        -moz-box-shadow: 0 12px 32px 0 rgba(18, 113, 179, 0.7);
        box-shadow: 0 12px 32px 0 rgba(18, 113, 179, 0.7);
        -webkit-transition: all 0.3s ease 0.0s;
        -moz-transition: all 0.3s ease 0.0s;
        transition: all 0.3s ease 0.0s;
      }
    }
  }
  .userMessage {
    .father_padding();
    .hidden();
    padding-bottom: 100px;
    h2 {
      .index-title();
      margin-bottom: 40px;
    }
    .swiper-container {
      height: 260px;
    }
    .swiper-slide {
      text-align: center;
      .slide-header {
        margin-bottom: 10px;
        img {
          border-radius: 100%;
          width: 96px;
        }
      }
      .slide-title {
        color: #454545;
        font-size: 17px;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 20px;
      }
      .slide-message {
        color: #5d6770;
        font-size: 15px;
        width: 700px;
        margin: 0 auto;
        line-height: 25px;
      }
    }
  }
  .newsList{
    .father_padding();
    .hidden();
    padding: 60px 0;
    overflow: hidden;
    background: url("http://sui.taobao.org/sui/docs/assets/imgs/grid.png"), linear-gradient(315deg, #328e6c 0%, #33b906 100%);
    background-repeat: no-repeat;
    background-position: 50% 40%;
    h2 {
      font-size: 24px;
      color: #fff;
      margin-bottom: 20px;
    }
    ul {
      li {
        margin-bottom: 30px;
        p {
          font-size: 22px;
          font-weight: inherit;
          color: #fff;
          margin-bottom: 10px;
        }
        span {
          color: #d6d6d6;
          font-size: 15px;
          margin: 2px 0 10px;
        }
      }
    }
  }
  
}